/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package service.impl;

import dao.PetStoreDao;
import dao.impl.PetStoreMYSQLImpl;
import entity.PetStore;
import service.PetStoreService;

/**
 *
 * @author Administrator
 */
public class PetStoreServiceImpl implements PetStoreService {

    @Override
    public PetStore login(String name, String password) {
        PetStoreDao psd;
        psd = new PetStoreMYSQLImpl();
        PetStore ps = null;
        ps = psd.slectStore(name, password);
        return ps;
    }

}
